package com.youlai.boot.stepsPlan.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.stepsPlan.model.entity.UserStepsPlan;
import com.youlai.boot.stepsPlan.model.form.UserStepsPlanForm;

/**
 * 用户每日步数计划对象转换器
 *
 * @author cuisheng
 * @since 2025-03-31 22:59
 */
@Mapper(componentModel = "spring")
public interface UserStepsPlanConverter{

    UserStepsPlanForm toForm(UserStepsPlan entity);

    UserStepsPlan toEntity(UserStepsPlanForm formData);
}